{include file="public/head" /}
  
  <body>

    <div class="x-body">


      <table class="layui-table"  id="table">
        <thead>
          <tr>



            <th style="text-align: center; font-size: 16px;">费用类型</th>
            <th style="text-align: center; font-size: 16px;">账期</th>
            <th style="text-align: center; font-size: 16px;">应收金额</th>


            <th style="text-align: center; font-size: 16px;">付款类型</th>
            <th style="text-align: center; font-size: 16px;">付款时间</th>

            <th style="text-align: center; font-size: 16px;">同步状态</th>

            <th style="text-align: center; font-size: 16px;width: 10%" >备注</th>

            </tr>
        </thead>
        <tbody>
          {foreach $billlist as $val}
          <tr>


            <td style="text-align: center;width:14%">{$val.cost_type}</td>
            <td style="text-align: center;">{$val.acct_period}</td>
            <td style="text-align: center;">{$val.bill_entry_amount}</td>



            <td style="text-align: center;">{$val.pay_type}</td>
            <td style="text-align: center;">
              {if $val.status == 'TRADE_SUCCESS'}
              {$val.gmt_payment}
              {/if}
            </td>

            <td style="text-align: center;">
              {if $val.tongbu == '1'}
                已同步
              {elseif $val.tongbu == '2'}
                <span style="color:red">
                未同步
                </span>
              {elseif $val.tongbu == '3'}
                已同步完成
              {/if}
            </td>

            <td style="text-align: center;">{$val.remarks}</td>

          </tr>
          {/foreach}
        </tbody>
      </table>
      <div class="page">
        <div>

        </div>
      </div>

    </div>

    <script>var _hmt = _hmt || []; (function() {
        var hm = document.createElement("script");
        hm.src = "https://hm.baidu.com/hm.js?b393d153aeb26b46e9431fabaf0f6190";
        var s = document.getElementsByTagName("script")[0];
        s.parentNode.insertBefore(hm, s);
      })();</script>
  </body>

</html>